docs: add a2a-cli agent skill - #27
Conversation
|
Thanks for kicking this off, but I think we need to iterate on this before merging.
It has too much information and it's now frozen, so the real cli mechanics will inevitably drift. Let's focus on cli help for flag and command discovery. Let's check the prior CLI skill art:
Note the focus on the core workflow, commands to run and flags to pass. |
|
Great points! Updated the PR. |
|
I reproduced an installation mismatch in the current skill setup (cad22fa): GOBIN="$(mktemp -d)" go install github.com/a2aproject/a2a-cli@latestThis installs The patch below builds the binary explicitly as Proposed two-file patch against cad22fadiff --git a/skills/a2a-cli/README.md b/skills/a2a-cli/README.md
index 047534b..d504809 100644
--- a/skills/a2a-cli/README.md
+++ b/skills/a2a-cli/README.md
@@ -13,12 +13,20 @@ It is one file, `SKILL.md`. Once it is installed, your agent can:
## Prerequisite
-The skill drives the `a2a` binary; it does not install it. Install `a2a` first:
+The skill drives the `a2a` binary; it does not install it. With a Go toolchain
+matching the repository's `go.mod`, build it from source with the expected name:
```bash
-go install github.com/a2aproject/a2a-cli@latest
+git clone https://github.com/a2aproject/a2a-cli.git
+cd a2a-cli
+go build -o a2a .
+export PATH="$PWD:$PATH"+The PATH change applies to this shell. For future sessions, place the binary in diff --git a/skills/a2a-cli/SKILL.md b/skills/a2a-cli/SKILL.md
index 431a41a..1fec6be 100644
--- a/skills/a2a-cli/SKILL.md
+++ b/skills/a2a-cli/SKILL.md
@@ -41,13 +41,17 @@ returned.
## Setup
-Check for the binary; install from source if missing (needs a Go toolchain from
-https://go.dev/doc/install); re-run to update:
+Check that the binary is available:
```bash
-go install github.com/a2aproject/a2a-cli@latest
+a2a version+If it is missing, ask the user to install it using the |
|
Hi @Math1987 Thank you for the review & PR. We appreciate it 👍 Let us do this. (1) Merge this PR (2) Update your PR to point to main branch A clarification to share here. The installation is expected to be |
Adds a single-file Agent Skill for the
a2aCLI (SPEC §14), plus a short install README.skills/a2a-cli/SKILL.md— how to use and learn the CLI, and record tasks for follow-upskills/a2a-cli/README.md— install and verifycloses: #4